home *** CD-ROM | disk | FTP | other *** search
- Path: news.pix.za!usenet
- From: js000021@pixie.co.za (Smit JS)
- Newsgroups: comp.lang.c++
- Subject: fstream.h, openprot and share
- Date: Mon, 11 Mar 1996 08:35:55 GMT
- Organization: PiX - Proxima information X-change
- Message-ID: <4i16nm$bh@hawk.pix.za>
- NNTP-Posting-Host: 196.23.60.108
- X-Newsreader: Forte Free Agent 1.0.82
-
- Hi all,
- I am using BC3.1 in a DOS program.
- I would like to use the stream functions and open a file twice while
- share.exe is loaded. (The exe file has to write config info to its
- file). The low-level equivalent is sopen. All I can find in the
- handbooks and fstream.h files are:
- >class _CLASSTYPE filebuf : public streambuf {
- >public:
- >static const int openprot; // default file protection
- > // open named file with mode and protection, attach to this filebuf
- > filebuf _FAR * _Cdecl open( const signed char _FAR *, int,
- > int = filebuf::openprot );
- Nowhere do I find reference to openprot.
- Please help.
- Thank you
- Johan Smit
- js000021@pixie.co.za
-
-
-